package com.demonlover.oauth2.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demonlover.oauth2.resource.domain.Content;
import com.demonlover.oauth2.resource.domain.ContentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author  WuChao
 * @date  2020/6/3 11:59
 * @version 1.0
 */
public interface ContentMapper extends BaseMapper<Content> {
    long countByExample(ContentExample example);

    int deleteByExample(ContentExample example);

    List<Content> selectByExample(ContentExample example);

    int updateByExampleSelective(@Param("record") Content record, @Param("example") ContentExample example);

    int updateByExample(@Param("record") Content record, @Param("example") ContentExample example);
}